package com.zlp.mybatisplus.mybatisplus.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhulaiping
 * @since 2022-01-25
 */
@TableName("bcrm_file")
public class File extends Model<File> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 活动奖励id
     */
    @TableField("activity_award_id")
    private String activityAwardId;

    /**
     * 奖励模板id
     */
    @TableField("award_template_id")
    private String awardTemplateId;

    /**
     * 图片地址
     */
    @TableField("picture_url")
    private String pictureUrl;

    /**
     * 创建时间
     */
    @TableField("create_at")
    private Date createAt;

    /**
     * 修改时间
     */
    @TableField("update_at")
    private Date updateAt;

    /**
     * 删除时间
     */
    @TableField("delete_at")
    private Date deleteAt;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getActivityAwardId() {
        return activityAwardId;
    }

    public void setActivityAwardId(String activityAwardId) {
        this.activityAwardId = activityAwardId;
    }
    public String getAwardTemplateId() {
        return awardTemplateId;
    }

    public void setAwardTemplateId(String awardTemplateId) {
        this.awardTemplateId = awardTemplateId;
    }
    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }
    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }
    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }
    public Date getDeleteAt() {
        return deleteAt;
    }

    public void setDeleteAt(Date deleteAt) {
        this.deleteAt = deleteAt;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "File{" +
        "id=" + id +
        ", activityAwardId=" + activityAwardId +
        ", awardTemplateId=" + awardTemplateId +
        ", pictureUrl=" + pictureUrl +
        ", createAt=" + createAt +
        ", updateAt=" + updateAt +
        ", deleteAt=" + deleteAt +
        "}";
    }
}
